From 466213770a2ad583e62f3d1eef3a64e2e31e7dc9 Mon Sep 17 00:00:00 2001 From: Gert Wollny Date: Sun, 3 Jul 2016 13:44:32 +0000 Subject: [PATCH] add hardening flags --- debian/changelog | 3 ++- debian/rules | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index c39cc593..82396c05 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,9 +1,10 @@ -dcmtk (3.6.1~20160216-2) unstable; urgency=medium +dcmtk (3.6.1~20160216-2) UNRELEASED; urgency=medium * d/p/08: remove SYSTEM_PROCESSOR usage for reproducible builds * d/p/09: add patch to enable compileing against openssl-1.1 Closes: #828281 * d/p/04: update patch to remove duplicate entries + * d/rules: add hardening flags -- Gert Wollny Thu, 26 May 2016 15:47:40 +0000 diff --git a/debian/rules b/debian/rules index c338049f..16ae5135 100755 --- a/debian/rules +++ b/debian/rules @@ -1,6 +1,9 @@ #!/usr/bin/make -f #export DH_VERBOSE=1 +# export DEB_BUILD_MAINT_OPTIONS = hardening=+pie +export DEB_BUILD_MAINT_OPTIONS = hardening=+all + # reduce overlinking: export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed -- 2.30.2